﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="TallyByLoadnum.aspx.cs" Inherits="Ewts.Storage.TallyByLoadnum" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server" >

<h2>理货控制表</h2>
<br />
<div class="shadow"> 
<%--    <asp:Repeater ID="reptCustomer" runat="server">
      <HeaderTemplate>--%>
 
    <table id="tbCustomer" class="display" cellpadding="0" cellspacing="0" border="0" style="width:100%;">
      <thead>
        <tr>
            <th>序号</th>
            <th>Load号</th>
            <th>归属地</th>
            <th>处理地</th>
           <th>收货日期</th>
             <th>客户</th>
            <th>项目编号</th>
            <th>项目名称</th>
            <th>业务员</th>
            <th>Load总重量</th>
            <th>余下重量</th>
            <%--<th>备注</th>--%>
            <th>操作</th>
        </tr>
      </thead>
      <tbody>
<%--  </HeaderTemplate>
  <ItemTemplate>
    <tr>
      <td><%# Container.ItemIndex + 1%></td>
      <td><%# Eval("loadno")%></td>
      <td><%# Eval("bcity")%></td>
      <td><%# Eval("gcity")%></td>
      <td title="<%# Eval("colldate_1")%>"><%# Eval("colldate_0")%></td>
      <td><%# Eval("cumstomer")%></td>
      <td><%# Eval("projectcode")%></td>
      <td><%# Eval("projectname")%></td>
      <td><%# Eval("saleman").ToString().Replace("@","-").Replace("/","-")%></td>
      <td><%# Eval("totalweight")%></td>
      <td><%# Eval("currNwt")%></td>
      <td></td>
      <td>
        <%# getUrl(Eval("lid").ToString(), Eval("outid").ToString(), "1", Eval("urltype").ToString())%>
        <%# getUrl(Eval("lid").ToString(), Eval("outid").ToString(), "0", Eval("urltype").ToString())%>
      </td>
    </tr>
  </ItemTemplate>
  <FooterTemplate>

  </FooterTemplate>
    </asp:Repeater>--%>
        </tbody>
    </table>
</div>
    <script type="text/javascript">
        $(document).ready(function () {
            $('#tbCustomer').dataTable({ "oLanguage": { "sUrl": "/jquery/jquery.dataTable.cn.txt" },
                "bJQueryUI": true,
                "sPaginationType": "full_numbers",
                'bPaginate': true,
                "bProcessing": true,
                "iDisplayLength": 25,
                "bDestory": true,
                "columns": [
                    { "data": "rownum" },
                    { "data": "loadno" },
                    { "data": "bcity" },
                    { "data": "gcity" },
                    { "data": "colldate_0" },
                     { "data": "cumstomer" },
                     { "data": "projectcode" },
                    { "data": "projectname" },
                    { "data": "saleman_str" },
                    { "data": "totalweight" },
                    { "data": "currNwt" },
                     { "data": "operatorurl" }
            ],
                "sAjaxSource": "/ashx/pageJuqery.ashx?pagetype=tbln",
                "bServerSide": true                
            });

        });
 
</script>

</asp:Content>
